#include "syscall.h"

int main()
{
	int test0 = 0, test1= 0;
	/*Attempt to exec a exe that does not exist*/
	test0 = Exec("badExecutable",sizeof("badExecutable"));
	if(test0 == -1)
	{
		PrintString("Bad executable name, exe not executed.\n",sizeof("Bad executable name, exe not executed.\n"));
	}
	/*Attempt to exec a exe with a bad length passed in*/
	test1 = Exec("../test/forkAndLockTest",-1);
	if(test1 == -1)
	{
		PrintString("Bad length passed in, exe not executed.\n",sizeof("Bad length passed in, exe not executed.\n"));
	}
	/*working cases here*/
	Exec("../test/forkAndLockTest",23);
	Exec("../test/forkAndLockTest",23);
	Exit(0);
	return 1;
}